<script>    
    // 解构嵌套对象   
     let person = { friends: ["Alice", {job:"CEO", age:19}] };   
     let {friends: [name, {age, gender}]} = person;   
     console.log(name); // Alice   
     console.log(age); // 19   
     console.log(gender); // undefined   
</script>   